//
//  UIImageView+utils.h
//  storeapp
//
//  Created by huangyi on 13-1-23.
//  Copyright (c) 2013年 ios. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIImageView (utils)

-(void)imageFromURL:(NSString *)urlstring;
-(void)imageFromURL:(NSString *)urlstring onComplete:(dispatch_block_t)block;
-(void)imageFromURL:(NSString *)urlstring diskCache:(BOOL)cache;
-(void)imageFromURL:(NSString *)urlstring diskCache:(BOOL)cache onComplete:(dispatch_block_t)block;

+(NSString*)diskCacheForURL:(NSString*)urlstring;

@end
